package com.kang;

/**
 * @program: cloud-eureka
 * @description: 注册中心启动类
 * @author: K.faWu
 * @create: 2022-02-15 18:07
 **/

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @Description: 启动之后，访问 http://127.0.0.1:7001/
 */
@SpringBootApplication
@EnableEurekaServer // @EnableEurekaServer 服务端的启动类，可以接受别人注册进来~
public class EurekaApp {
    public static void main(String[] args) {
        SpringApplication.run(EurekaApp.class,args);
    }
}

